package com.yc.cloud.admin.vo.dashboard;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(description = "实时告警信息")
public class RealtimeAlarmVO {

    @Schema(description = "告警ID")
    private Long id;

    @Schema(description = "告警位置")
    private String location;

    @Schema(description = "告警名称")
    private String alarmName;

    @Schema(description = "告警发生时间")
    private LocalDateTime alarmTime;

    @Schema(description = "告警状态：0-待处理，1-处理中，2-已关闭，3-误报")
    private Byte status;

    @Schema(description = "告警状态名称")
    private String statusName;

    @Schema(description = "告警图片URL")
    private String imageUrl;
}